package com.meizi.mall.product.feign;

import com.meizi.core.tool.api.R;
import com.meizi.mall.common.to.es.SkuEsModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author meizi
 * @email enjoymeizi@gmail.com
 * @date 2021/1/20 16:15
 */
@FeignClient("mall-search")
public interface SearchFeignServer {

    @PostMapping("/search/product/status/up")
    R productStatusUp(@RequestBody List<SkuEsModel> listSkuModel);
}
